package xyz.yuelai.blog.dao;

import xyz.yuelai.blog.entity.Permission;

public interface PermissionDAO {
	
	/**
	 * 创建权限
	 * @param permission	权限
	 * @return	创建的权限
	 */
	public Permission createPermission(Permission permission);

	/**
	 * 删除权限
	 * @param permissionId	权限id
	 */
	public void deletePermission(Long permissionId);
}
